package com.cheng.im.service.conversation.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("删除会话请求")
public class DeleteConversationReq extends RequestBase {

    @ApiModelProperty("会话ID")
    @NotBlank(message = "会话id不能为空")
    private String conversationId;

    @ApiModelProperty("请求的用户ID")
    @NotBlank(message = "fromId不能为空")
    private String fromId;

}
